package com.zhuoyue.system.service.impl;

import com.zhuoyue.system.domain.po.SysMovementLinkPo;
import com.zhuoyue.system.domain.vo.SysMovementLinkVo;
import com.zhuoyue.system.mapper.SysMovementLinkMapper;
import com.zhuoyue.system.service.ISysMovementLinkService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zhanghui
 * @date 2021-10-20
 */
@Service
public class SysMovementLinkServiceImpl implements ISysMovementLinkService {
    @Autowired
    private SysMovementLinkMapper sysMovementLinkMapper;

    @Override
    public SysMovementLinkVo selectSysMovementLinkById(String id) {
        return sysMovementLinkMapper.selectSysMovementLinkById(id);
    }

    @Override
    public List<SysMovementLinkVo> selectSysMovementLinkList(SysMovementLinkVo sysMovementLink) {
        return sysMovementLinkMapper.selectSysMovementLinkList(sysMovementLink);
    }

    @Override
    public int insertSysMovementLink(SysMovementLinkPo sysMovementLink) {
        return sysMovementLinkMapper.insertSysMovementLink(sysMovementLink);
    }

    @Override
    public int updateSysMovementLink(SysMovementLinkPo sysMovementLink) {
        return sysMovementLinkMapper.updateSysMovementLink(sysMovementLink);
    }

    @Override
    public int deleteSysMovementLinkById(String id) {
        return sysMovementLinkMapper.deleteSysMovementLinkById(id);
    }
}
